package com.jic.veteran.dao;

import com.jic.veteran.dto.AlumniAddEnterpriseParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface AlumniEnterpriseAdminMapper {


    int upEnterpriseStatus(@Param("id") Integer id,
                   @Param("status") Integer status);

    int addEnterprise(@Param("alumniAddEnterpriseParam") AlumniAddEnterpriseParam alumniAddEnterpriseParam,
                   @Param("user") String user,
                   @Param("date") Date date);

    int aditEnterprise(@Param("id") Integer id,
                   @Param("alumniAddEnterpriseParam") AlumniAddEnterpriseParam alumniAddEnterpriseParam,
                   @Param("user") String user,
                   @Param("date") Date date);

}
